package com.jie.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jie.entity.Tag;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 论坛标签类型表(类似选择标签） Mapper 接口
 * </p>
 *
 * @author jie
 * @since 2024-05-29
 */
@Mapper
public interface TagMapper extends BaseMapper<Tag> {

    /**
     * 根据标签名查询标签
     *
     * @param tagNameList 标签名列表
     * @return 标签
     */
    List<Tag> selectTagList(@Param("tagNameList")List<String> tagNameList);
}
